package cn.iocoder.yudao.module.bill.controller.admin.account.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;
import java.math.BigDecimal;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 账户信息新增/修改 Request VO")
@Data
public class AccountSaveReqVO {

    @Schema(description = "唯一ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "24616")
    private Long id;

    @Schema(description = "账户ID", example = "13351")
    private Integer accountId;

    @Schema(description = "账号名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "赵六")
    @NotEmpty(message = "账号名称不能为空")
    private String accountName;

    @Schema(description = "账户主人")
    private String accountOwner;

    @Schema(description = "账号备注", requiredMode = Schema.RequiredMode.REQUIRED, example = "你说的对")
    @NotEmpty(message = "账号备注不能为空")
    private String accountRemark;

    @Schema(description = "账号启用日期", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "账号启用日期不能为空")
    private LocalDateTime accountStartTime;

    @Schema(description = "账号停用日期", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "账号停用日期不能为空")
    private LocalDateTime accountStopTime;

    @Schema(description = "是否计入流水")
    private Integer hasWater;

    @Schema(description = "是否启用")
    private Integer hasEnable;

    @Schema(description = "资金归属")
    private String moneyOwner;

    @Schema(description = "账户类型", example = "1")
    private String accountType;

    @Schema(description = "银行名称", example = "李四")
    private String bankName;

    @Schema(description = "银行卡号")
    private String bankCard;

    @Schema(description = "排序号")
    private Integer orderNum;

    @Schema(description = "逻辑父账户", requiredMode = Schema.RequiredMode.REQUIRED, example = "21530")
    private String logicParentAccount;

    @Schema(description = "标记余额")
    private BigDecimal remarkBalance;

    @Schema(description = "标记余额时间")
    private LocalDateTime remarkBalanceTime;

    @Schema(description = "额外参数")
    private String extParam;

}